﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace Things.Web
{
    public partial class Search : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                BindData();
            }
        }

        protected void BindData()
        {
            Things.BLL.Goods bll = new BLL.Goods();
            DataSet ds = bll.GetList();
            DataList1.DataSource = ds;
            DataList1.DataBind();
        }
    }
}